#ifndef MONITORWIDGET_H
#define MONITORWIDGET_H

#include <QWidget>

 //监控界面
namespace Ui {
class MonitorWidget;
}

class MonitorWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MonitorWidget(QWidget *parent = nullptr);
    ~MonitorWidget();

    void init();

    bool eventFilter(QObject *watched, QEvent *event);

signals:
    void ErrorResetBtn_push(int n); //连接
    void ProductEndBtn_push(); //结束
    void StartBtn_push(); //监控开始
    void StopBtn_push(); //监控结束
    void PauseBtn_push(); //暂停

private:
    Ui::MonitorWidget *ui;
};

#endif // MONITORWIDGET_H
